package com.cc8w.entity;

import java.io.Serializable;
import java.util.Date;


public class UserEntity  implements Serializable {
    private static final long serialVersionUID = -6391149300294480283L;

    private int id;
    private String userName;
    private String passWord;
    private String cname;
    private int cId;

 
    
    private CompanyEntity company;

    public UserEntity() {

    }
    public UserEntity(int id, String userName) {
        super();
        this.id = id;
        this.userName = userName;

    }

   
    
    
    
    public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassWord() {
		return passWord;
	}
	public void setPassWord(String passWord) {
		this.passWord = passWord;
	}
	public String getCname() {
		return cname;
	}
	public void setCname(String cname) {
		this.cname = cname;
	}
	public int getcId() {
		return cId;
	}
	public void setcId(int cId) {
		this.cId = cId;
	}
	public CompanyEntity getCompany() {
		return company;
	}
	public void setCompany(CompanyEntity company) {
		this.company = company;
	}
	
	
	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", userName=" + userName + ", passWord=" + passWord + ", cname=" + cname
				+ ", cId=" + cId + ", company=" + company + "]";
	}

	

}
